package hbnu;
import java.util.Scanner;

public class test1 {
    public static void main(String[] args) {
        int []num=new int[5];
        Scanner sc =new Scanner(System.in);
        System.out.println("please input five number");
        for(int i=0;i<5;i++)
        {
            num[i]=sc.nextInt();
        }
        for(int i=0;i<num.length-1;i++) {
            for (int j = 0; j < num.length - 1 - i; j++) {
                if (num[j] > num[j + 1]) {
                    int temp = num[j];
                    num[j] = num[j + 1];
                    num[j + 1] = temp;
                }
            }
        }
        for(int i=0;i<5;i++)
        {
            System.out.println(num[i]);
        }
    }
}
